package com.liwang.lanouhn.nvshengo.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.liwang.lanouhn.nvshengo.R;

/**
 * Created by lanouhn on 2016/10/24.
 */
public class AttentionFragment extends Fragment {
    private RecyclerView rv_attention;


    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_attention, null);
        initView(view);
        initEvent();
        return view;
    }



    private void initView(View view) {
        rv_attention = (RecyclerView) view.findViewById(R.id.rv_attention);
        LinearLayoutManager manager =new LinearLayoutManager(getActivity());
        rv_attention.setLayoutManager(manager);
    }
    private void initEvent() {

    }
}
